package com.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration
@ComponentScan({"com.controller"}) // 扫包
@EnableWebMvc // MVC 核心注解
public class SpringMvcConfig {
}
